// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SEC_USER_ROLE
// * CreateDate    : 2011/9/27 11:24:18
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:18
// * LastChanger   : 2011/9/27 11:24:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SecUserRoleTable : TableInfo
    {
		public const string C_TableName = "SEC_USER_ROLE";
		
		public const string C_ROLE_ID = "ROLE_ID";
		public const string C_USER_ID = "USER_ID";
		
		public SecUserRoleTable()
        {
            _tableName = "SEC_USER_ROLE";
        }
		
		protected static SecUserRoleTable _current;
        public static SecUserRoleTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SecUserRoleTable();

            _current.Add(C_ROLE_ID, new ColumnInfo(C_ROLE_ID,"RoleId", true, typeof(string)));
            _current.Add(C_USER_ID, new ColumnInfo(C_USER_ID,"UserId", true, typeof(string)));
			
		}
		
		public ColumnInfo ROLE_ID
        {
            get { return this[C_ROLE_ID]; }
        }
		
		public ColumnInfo USER_ID
        {
            get { return this[C_USER_ID]; }
        }
		
		
		
	}
}

